home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2003 July / CD 2 Debian 3.0r1 / Debian.iso / isolinux / root.bin / root / etc / inittab < prev    next >
Encoding:
Text File  |  2002-05-16  |  1.1 KB  |  41 lines

  1. # /etc/inittab
  2. #     init(8) configuration for Debian boot-floppies Root Disk
  3. #
  4. # Copyright (C) 1999,2000 Erik Andersen <andersee@debian.org>
  5. # GPL-2
  6. #
  7. # Note: BusyBox init doesn't support runlevels.  The runlevels field is
  8. # completely ignored by BusyBox init. If you want runlevels, use sysvinit.
  9. #
  10. # Format for each entry: <id>:<runlevels>:<action>:<process>
  11. #
  12. # id        == tty to run on, or empty for /dev/console
  13. # runlevels == ignored
  14. # action    == one of sysinit, respawn, askfirst, wait, and once
  15. # process   == program to run
  16.  
  17. # If this is the Linux console, and it's a vga16 frame buffer, 
  18. # force the vga palette to be reset to defaults.
  19. tty1::sysinit:/etc/init.d/check_fb.sh
  20.  
  21. # main rc script
  22. null::sysinit:/etc/init.d/rcS
  23.  
  24. # main setup program
  25. ::respawn:/sbin/udbootstrap
  26.  
  27. # convenience shell
  28. tty2::askfirst:-/bin/sh
  29.  
  30. # set up stuff for logging
  31. null::sysinit:/bin/dmesg > /dev/tty4
  32. tty3::respawn:/usr/bin/tail -f /var/log/messages
  33. tty4::respawn:/usr/bin/tail -f /proc/kmsg
  34.  
  35. # Stuff to do for the 3-finger salute
  36. ::ctrlaltdel:/sbin/reboot
  37.  
  38. # Stuff to do before rebooting
  39. null::shutdown:/bin/umount -a -r
  40. null::shutdown:/sbin/swapoff -a
  41.